package com.yjc.hire.server.service;

import com.yjc.bo.NewArticleBO;
import com.yjc.hire.enums.ArticleStatus;
import com.yjc.hire.grace.result.PageGridResult;
import com.yjc.pojo.Article;

import java.util.List;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/9/10
 * </p>
 */
public interface ArticleService {
    void createArticle(NewArticleBO article);

    PageGridResult<List<Article>> list(Integer page, Integer limit, ArticleStatus status);

    public Article queryArticleDetail(String articleId,ArticleStatus status);

    void updateArticle(NewArticleBO article);

}
